package com.summer.framework.admin.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.summer.framework.common.entity.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @auther: 杨杰
 * @date: 2019/1/11 10:50
 * @description:
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("resources")
public class Resource extends BaseEntity {
    private String code;

    private Integer type;// 类型 0按钮 1菜单 2 其他（api）

    private Integer method;

    private String name;

    private String url;

    private String description;

}
